home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / inc / parse.hpp < prev    next >
C/C++ Source or Header  |  1997-05-20  |  483b  |  19 lines

  1. #ifndef __PARSE_HPP_
  2. #define __PARSE_HPP_
  3.  
  4.  
  5. enum  { sEND,sNUMBER,sSTRING,sWORD,sOPERATOR,sLEFT_BRACE,sRIGHT_BRACE,
  6.         sLEFT_PAREN,sRIGHT_PAREN,sASSIGNMENT,sCOMMA  } ;
  7. extern char *ttype[];
  8.  
  9. void expect(int thing, int type, char *where);
  10. void skip_space(char *&s);
  11. int get_token(char *&s, char *buffer);
  12. int token_type(char *s);
  13. void next_token(char *&s);
  14. int get_number(char *&s);
  15. void get_filename(char *&s, char *buffer);
  16. void match_right(char *&s);
  17.  
  18. #endif
  19.